package com.rent.rent_back_end.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * @Author: 王榄
 * @Date: 2023/02/06/12:28
 * @Description:
 */
@Data
@TableName("posts")
public class Posts {

    @TableId(type=IdType.AUTO)
    private Integer postId;

    private String postName;

    private String postSalary;

    private String postCompany;

    private String postAddress;

    private String postType;

    private String postDegree;

    private String postExperience;

    @TableField("post_company_description")
    private String postCompanyDescription;

    private String postDescription;
}
